package com.AdvancedDemos.单元测试_反射_注解.注解;

/**
 * ②定义一个类叫:UseAnnotation4，在类中定义一个useMyAnnotation4方法，并在该类和其方法上使用MyAnnotation4注解
 */

@MyAnnotation4(value = "value1", aaa = 1, bbb = {"a1", "b1", "c1"})
public class UseAnnotation4 {

    @MyAnnotation4(value = "value2", aaa = 2, bbb = {"a2", "b2", "c2"})
    public void useMyAnnotation4() {
        System.out.println("helloworld");
    }
}
